﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace VAdvantage.Classes
{
    public class WindowCtx// : ISerializable
    {

        //private static long serialVersionUID = 1L;
        ////HashMap changed to Hashtable
        //private Hashtable _strMap;
        //private Hashtable _objMap;

        ///// <summary>
        ///// Class Constructor
        ///// </summary>
        //public WindowCtx()
        //{
        //    _strMap = new Hashtable();
        //    _objMap = new Hashtable();
        //}

        ///// <summary>
        ///// 
        ///// </summary>
        ///// <param name="strMap"></param>
        ///// <param name="objMap"></param>
        //public WindowCtx(Hashtable strMap, Hashtable objMap)
        //{
        //    _strMap = strMap;
        //    _objMap = objMap;
        //}

        ///// <summary>
        ///// 
        ///// </summary>
        ///// <param name="name"></param>
        ///// <returns></returns>
        //public string GetStringContext(string name)
        //{
        //    //return (String) m_strMap.get( name );
        //    return _strMap[name].ToString();
        //}

        ///// <summary>
        ///// 
        ///// </summary>
        ///// <param name="name"></param>
        ///// <returns></returns>
        //public Object GetObjectContext(string name)
        //{
        //    //return _objMap.get( name );
        //    return _objMap[name];
        //}

        ///// <summary>
        ///// 
        ///// </summary>
        ///// <param name="name"></param>
        ///// <returns></returns>
        //public string Get(string name)
        //{
        //    return GetStringContext(name);
        //}

        ///// <summary>
        ///// 
        ///// </summary>
        ///// <param name="name"></param>
        ///// <returns></returns>
        //public int GetAsInt(string name)
        //{
        //    int value = 0;
        //    try
        //    {
        //        //value = int.Parse( get( name ) );
        //    }
        //    catch (Exception e)
        //    {
        //    }
        //    return value;
        //}
        ///// <summary>
        ///// 
        ///// </summary>
        ///// <param name="name"></param>
        ///// <returns></returns>
        //public bool GetAsBoolean(string name)
        //{
        //    //return "Y".Equals( get( name ) );
        //    return true;
        //}

        ///// <summary>
        ///// 
        ///// </summary>
        ///// <param name="name"></param>
        ///// <param name="value"></param>
        //public void Put(string name, string value)
        //{
        //    //_strMap.put( name, value );
        //}

        ///// <summary>
        ///// 
        ///// </summary>
        ///// <param name="name"></param>
        ///// <param name="value"></param>
        //public void PutObject(string name, object value)
        //{
        //    //_objMap.put( name, value );
        //}

        ///// <summary>
        ///// 
        ///// </summary>
        ///// <returns></returns>
        //public Hashtable GetStringMap()
        //{
        //    return _strMap;
        //}
    }
}
